import java.io.File;

import java.io.IOException;

public class Sample {
	
	private static String name1 = "/My Documents/My Documents/password1.dat";
	
	private static String name2 = "/My Documents/My Documents/password2.dat";
	
	public static void main(String args[]) {
		try {
			File file1 = new File(name1);
			file1.createNewFile();
			file1.delete();
			File file2 = new File(name2);
			file2.delete();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
